@import "~antd/lib/style/themes/default.less";

.content {
  margin: 16px;
  padding-top: @layout-header-height;

  .company {
    background: white;
    padding: 39px 54px;
    text-align: center;
    margin-bottom: 10px;

    & div {
      font-size: 24px;
      margin-bottom: 19px;
    }
  }

  .info {
    background: white;
    padding: 17px 20px;

    .item {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      border: 1px solid #eeeeee;
      box-shadow: 0px 2px 5px 0px rgba(204, 204, 204, 0.35);
      border-radius: 16px;
      padding: 26px 15px;
      margin: 17px 0;

      &:first-child {
        margin-top: 7px;
      }

      & img {
        width: 55px;
        margin-right: 22px;
      }

      & div {
        &:first-child {
          color: #666666;
        }

        &:last-child {
          color: #000000;
        }
      }
    }
  }

  .rightContainer {
    background: white;
    padding: 15px;

    .banner {
      width: 100%;
      margin-bottom: 10px;
    }

    .post {
      .postTitle {
        padding: 16px 10px;
        border-bottom: 1px solid #ededf0;

        span {
          &:first-child {
            display: inline-block;
            width: 32px;
            height: 32px;
            background: #f2f3f5;
            border-radius: 50%;
            text-align: center;
            line-height: 32px;
            margin-right: 10px;
          }

          &:last-child {
            font-size: 16px;
            font-family: PingFang SC;
            font-weight: bold;
            color: #333333;
          }
        }
      }

      .postContent {
        padding: 10px 0;

        ul {
          padding: 0;

          li {
            list-style: inside;
            margin: 10px 0;
            color: #333;

            a {
              color: #333;
            }
          }
        }
      }
    }
  }
}

.lineTitle {
  font-size: 15px;
  font-family: PingFang SC;
  font-weight: 500;
  color: #000000;
  position: relative;

  img {
    margin-right: 12px;
    vertical-align: middle;
  }

  span {
    vertical-align: middle;
  }

  :global .anticon {
    vertical-align: middle;
  }
}

.qaBox {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 24px;

  p {
    margin: 0;
    padding: 0;
  }
}

.qaChild {
  display: flex;
  align-items: center;
  border-radius: 12px;

  p {
    margin-bottom: unset;
  }

  div {
    text-align: center;

    .num {
      font-family: DIN;
      font-weight: 500;
      font-size: 18px;
      color: #000000;
    }

    .title {
      font-family: PingFang SC;
      font-weight: 400;
      font-size: 14px;
      color: #333333;
      margin-bottom: 6px;
    }
  }

  .firstBox {
    width: 118px;
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .secondBox {
    // display: flex;
    // padding: 0 20px;
    // justify-content: space-between;
    // align-items: center;
    width: calc(100% - 130px);
  }

  .numBox {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .boxTitle {
    font-family: PingFang SC;
    font-weight: 500;
    font-size: 16px;
    color: #000000;
    margin-bottom: 13px;
  }
  .boxIcon{
    width: 49px;
    height: 49px;
  }
}

.dataDate {

  // position: absolute;
  // right: 0;
  // top: 0;
  :global .ant-btn-link {
    color: #333333;
  }

  :global .ant-btn-link:hover {
    color: #2B47E6;
  }
}

.lineBox {
  display: flex;
  align-items: center;

  .dataBox {
    width: calc((100% - 66px) / 4);
    margin-right: 22px;
    display: flex;
    align-items: center;
    background: #F5F7FA;
    border-radius: 10px;
    padding: 10px;
  }

  .dataImg {
    margin-right: 20px;
  }

  .dataTitle {
    font-size: 14px;
    font-family: PingFang SC;
    font-weight: 400;
    color: #000000;
  }

  .dataNum {
    font-size: 18px;
    font-family: Helvetica;
    font-weight: bold;
    color: #000000;
  }
}

.colBorder {
  .chatBox {
    border: 1px solid #F0F0F0;
    border-radius: 10px;
    padding: 10px 20px;
    margin-top: 17px;
  }

  :global .ant-table-thead>tr>th {
    background: #ffffff;
    font-size: 14px;
    font-family: PingFang SC;
    font-weight: bold;
    color: #000000;
    border: 0;
  }

  :global .ant-table-tbody>tr>td {
    border: 0;
  }
}

.dot {
  position: relative;
  top: -1px;
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 8px;
}

.homeLayoutBox {
  :global .ant-layout {
    background: #ffffff !important;
  }
}

.pieMainC {
  width: calc(100% - 330px);
}

@media only screen and (max-width: 1024px) {
  .boxTitle {
    font-size: 15px !important;
  }

  .title {
    font-size: 12px !important;
  }

  .dataBox {
    display: block !important;
    text-align: center;

    img {
      margin: 0 !important;
    }
  }

  .pieMainC {
    width: 100% !important;
    margin-right: 0 !important;
  }

  .chatBox {
    display: block !important;
    height: 540px !important;

    ul {
      text-align: center;
    }
  }
}
